package com.gl.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 客户信息表
 * </p>
 *
 * @author lsy
 * @since 2021-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("customer_info")
public class CustomerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 客户姓名
     */
    @TableField("name")
    private String name;

    /**
     * 客户手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 省
     */
    @TableField("province")
    private String province;

    /**
     * 市
     */
    @TableField("city")
    private Integer city;

    /**
     * 区
     */
    @TableField("region")
    private Integer region;

    /**
     * 客户分类
     */
    @TableField("customer_type")
    private Integer customerType;

    /**
     * 企业机构
     */
    @TableField("company")
    private String company;

    /**
     * 所属行业
     */
    @TableField("business_id")
    private String businessId;

    /**
     * 客户等级
     */
    @TableField("customer_lv_id")
    private String customerLvId;

    /**
     * 是否具有决策全
     */
    @TableField("is_decision")
    private Boolean isDecision;

    /**
     * 是否市老客户
     */
    @TableField("is_old_customer")
    private Boolean isOldCustomer;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 渠道字典id
     */
    @TableField("channel_id")
    private Integer channelId;

    /**
     * 渠道说明
     */
    @TableField("channel_description")
    private String channelDescription;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 所属销售
     */
    @TableField("market_user")
    private String marketUser;

    /**
     * 创建者
     */
    @TableField("creator")
    private String creator;

    /**
     * 是否删除
     */
    @TableField("is_delete")
    private Boolean del;


}
